﻿<BaseControl:DataControl x:Class="jSLApp.Client.Forms.ShowCases.DataControlEx"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:BaseControl="clr-namespace:jSLCore.Client.Presentation.BaseControl;assembly=jSLCore.Client.Presentation"
                         xmlns:Controls="clr-namespace:jSLApp.Client.Controls"
                         xmlns:j="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation"
                         mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" BorderThickness="0"  HorizontalAlignment="Left">        
            <StackPanel Orientation="Vertical">
                <Controls:CustomBrowser SourceUrl="DataControl_About.schtml"/>
            <j:ImageGroupBox Header="Examples" Padding="1">
                <StackPanel Orientation="Vertical">
                    <j:ImageGroupBox Header="Simple DoWork" Padding="1">
                        <StackPanel Orientation="Vertical">
                            <Controls:CustomBrowser SourceUrl="DoWork.schtml"/>
                            <Button HorizontalAlignment="Left" Content="DoWork async" Click="doWork_Clicked"/>
                        </StackPanel>
                    </j:ImageGroupBox>
                    <j:ImageGroupBox Header="DomainContext Operation" Padding="1">
                        <StackPanel Orientation="Vertical">
                            <Controls:CustomBrowser SourceUrl="DoWorkOnVoidOperation.schtml"/>
                            <Button HorizontalAlignment="Left" Content="Do DomainContext Work" Click="doDomainContextWork_Clicked"/>
                        </StackPanel>
                    </j:ImageGroupBox>
                    <j:ImageGroupBox Header="DomainContext Operation with return value" Padding="1">
                        <StackPanel Orientation="Vertical">
                            <Controls:CustomBrowser SourceUrl="DoWorkOnOperation.schtml"/>
                            <Button HorizontalAlignment="Left" Content="Do DomainContext Work and get value (Click 3 times to get the error)" Click="doDomainContextWorkAndGetValue_Clicked"/>
                        </StackPanel>
                    </j:ImageGroupBox>
                    <!--<Controls:CustomBrowser Grid.Row="2" />
                    <Button HorizontalAlignment="Left" Content="111111" Grid.Row="3" />
                    <Controls:CustomBrowser Grid.Row="4" />
                    <Button HorizontalAlignment="Left" Content="111111" Grid.Row="5" />
                    <Controls:CustomBrowser Grid.Row="6" />
                    <Button HorizontalAlignment="Left" Content="111111" Grid.Row="7" />
                    <Controls:CustomBrowser Grid.Row="8" />
                    <Button HorizontalAlignment="Left" Content="111111" Grid.Row="9" />-->
                </StackPanel>
            </j:ImageGroupBox>
        </StackPanel>        
    </ScrollViewer>
</BaseControl:DataControl>
